import request from '@/utils/request'

// 列表展示
export function gasolineOneFindAll(data) {
    return request({
        url: '/gasolineOne/gasolineOneFindAll',
        method: 'post',
        data: data
    })
}
export function gasolineOneList(data) {
    return request({
        url: '/gasolineOne/gasolineOneList',
        method: 'post',
        data: data
    })
}

// 删除
export function deleteGasoline(data) {
    return request({
        url: '/gasoline/gasolineDelete',
        method: 'delete',
        params: data
    })
}

// 添加
export function gasolineOneSave(data) {
    return request({
        url: '/gasolineOne/gasolineOneSave',
        method: 'post',
        data: data
    })
}

// 查询省
export function provincesList(data) {
    return request({
        url: '/province/provinceFindAll',
        method: 'post',
        data: data
    })
}
//查询市
export function citiesList(data) {
    return request({
        url: '/cities/citiesFindAll',
        method: 'post',
        data: data
    })
}

//修改
export function gasolineUpdate(data) {
    return request({
        url: '/gasolineOne/gasolineUpdate',
        method: 'post',
        data: data
    })
}

export function gasolineOneUpdate(data) {
    return request({
        url: '/gasolineOne/gasolineOneUpdate',
        method: 'post',
        data: data
    })
}

export function gasolineOneUpdateByNumber(data) {
    return request({
        url: '/gasolineOne/gasolineOneUpdateByNumber',
        method: 'post',
        data: data
    })
}

